﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Legazpi.Payroll.DataAccess.DataObjects
{
    public class GlobalAdjustment : EntityBase<int>
    {
        [Required]      
        [StringLength(200)]        
        public string Description { get; set; }
        
        [Required]      
        public double Amount { get; set; }

        #region Reference        

        public int PayDateId { get; set; }
        public int AdjustmentId { get; set; }
        public virtual PayrollDate PayDate { get; set; }
        public virtual Adjustment Adjustment { get; set; }

        #endregion
    }
}
